#pragma once

#include "ISpreadItem.h"

struct Point;	struct Rect; enum regionCategory; struct Line;

interface ISplineItem : public ISpreadItem
{
	DEFINE_IID(IID_SplineItem)

	virtual void SLine(const Point& begin,const Point& end) = 0;
	virtual void Rectangle(const Point& leftop,const Point& rightbottom)  = 0;

	virtual Line SLine() const = 0;
	virtual Rect Rectangle() const = 0;

	virtual regionCategory GetCategory() const = 0;
};
